﻿using Xejen.Communication.Ftp.Abstract;
using Xejen.Communication.Ftp.Configuration;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;

namespace Xejen.Communication.Ftp
{
    /// <summary>
    /// 创建以<see langword="FtpWebRequest"/>为驱动的Ftp请求驱动器
    /// </summary>
    /// <creator>marc</creator>
    internal class FtpWebRequestInvokerCreator : IFtpInvokerCreator<FtpWebReqeustInvoker>
    {
        /// <inheritdoc/>
        public FtpWebReqeustInvoker Create(FtpConfig config)
        {
            FtpWebReqeustInvoker request = new FtpWebReqeustInvoker(config);
            return request;
        }
    }
}
